﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace sqlsearcher.Models
{
    public class AppEnum
    {
        public enum Jingl_0: int
        {
            [Description("计算机配置信息")]
            computerConfig = 1,
            [Description("常见sql")]
            commonsql = 2,
            [Description("C#")]
            C = 3,
            [Description("记事本")]
            txt = 4,
            [Description("版本信息")]
            Version=5
        }
        public enum Computer_1 : int
        {
            [Description("查看计算机配置")]
            systemConfig=10,
            [Description("远程桌面")]
            mstsc = 11,
            [Description("注册表")]
            regedt32 = 12,
            [Description("系统服务")]
            services = 13,
            [Description("系统属性")]
            systemInfos = 14,
            [Description("IP/TCP")]
            iptcp = 15,
            [Description("便签")]
            BianQ=16
        }
        public enum CExtends_3 : int
        {
            [Description("获取时间戳")]
            timestamp = 301,
            [Description("正则表达式")]
            zhengze = 302
        }

        public enum ZhengZe_302 : int
        {
            /// <summary>
            /// 全部
            /// </summary>
            [Description("全部")]
            All = 30201,
            /// <summary>
            /// 正整数
            /// </summary>
            [Description("正整数")]
            ZNum = 30202,
            /// <summary>
            /// 非0正整数
            /// </summary>
            [Description("非0正整数")]
            NZnum = 30203,
            /// <summary>
            /// 2位小数
            /// </summary>
            [Description("2位小数")]
            DoubleNum = 30204,
            /// <summary>
            /// 汉字
            /// </summary>
            [Description("汉字")]
            Chinese = 30205,
            /// <summary>
            /// 英文和数字
            /// </summary>
            [Description("英文和数字")]
            EnNum = 30206,
            /// <summary>
            /// Email
            /// </summary>
            [Description("Email")]
            Email = 30207,
            /// <summary>
            /// 域名
            /// </summary>
            [Description("域名")]
            DomainName = 30208,
            /// <summary>
            /// InternetURL
            /// </summary>
            [Description("InternetURL")]
            InternetURL = 30209,
            /// <summary>
            /// 手机号码
            /// </summary>
            [Description("手机号码")]
            Phone = 30210,
            /// <summary>
                          /// 电话号码
                          /// </summary>
            [Description("电话号码")]
            CellNumber = 30211,
            /// <summary>
            /// 身份证号
            /// </summary>
            [Description("身份证号")]
            IDCard = 30212,
            /// <summary>
            /// 账号
            /// </summary>
            [Description("账号")]
            Account = 30213,
            /// <summary>
            /// 强密码
            /// </summary>
            [Description("强密码")]
            SafePwd = 30214,
            /// <summary>
            /// 日期
            /// </summary>
            [Description("日期")]
            Date = 30215,
            /// <summary>
            /// QQ
            /// </summary>
            [Description("QQ")]
            QQ = 30216,
            /// <summary>
            /// 邮政编码
            /// </summary>
            [Description("邮政编码")]
            ECode = 30217,
            /// <summary>
            /// IP地址
            /// </summary>
            [Description("IP地址")]
            IP = 30218,
            /// <summary>
            /// layui验证与正则
            /// </summary>
            [Description("layui验证与正则")]
            Layui = 30219,
            /// <summary>
            /// C#正则
            /// </summary>
            [Description("C#正则")]
            Cxp = 30220,
            /// <summary>
            /// Js正则
            /// </summary>
            [Description("Js正则")]
            Js = 30221,
        }

        public enum SQLEnum : int
        {
            [Description("递归查询所有父节点")]
            TreeQueryParent=0,
            [Description("递归查询所有子节点")]
            TreeQueryChilds = 1,
            [Description("多行插入")]
            MutileInsert = 2,
            [Description("分组排序")]
            GroupSort = 3,
            [Description("建临时表")]
            CreateTempTable = 4,
            [Description("建索引")]
            CreateIndex = 5,
            [Description("去重复")]
            Dist = 6,
            [Description("列转行")]
            ColumnConvertRow = 7,
            [Description("锁表与解锁")]
            Lock=8,
        }

        public enum DBType
        {
            SQLServer=0,
            MySQL=2
        }
    }
}
